<?php
class Relation extends Object
{
    protected $modelName;

    public function Relation($modelName)
    {
        $this->modelName = $modelName;
    }

    public function GetModelName()
    {
        return $this->modelName;
    }

    public function GetModel()
    {
        return ModelBase::GetInstanceByName($this->modelName);
    }
}
?>
